﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace l1cs.server.serverpackets
{
    public class S_SkillIconWindShackle : ServerBasePacket
    {
        public S_SkillIconWindShackle( int objectId, int time )
        {
            int buffTime = ( time / 4 ); // なぜか4倍されるため4で割っておく
            writeC( Opcodes.S_OPCODE_SKILLICONGFX );
            writeC( 0x2c );
            writeD( objectId );
            writeH( buffTime );
        }

        override
        public byte[] getContent()
        {
            return getBytes();
        }

        override public String getType()
        {
            return "[S] S_SkillIconWindShackle";
        }
    }
}
